<extend name="_layout/main"/>
<block name="head">
    <style>
        .lianmeng .bottom .content .list, .sjfenlei .bottom .content .list {
            width: 100%;
        }

        .sjfenlei .top ul li {
            width: 50%;
        }

        select {
            float: left;
            width: 75%;
        }
    </style>
</block>
<block name="top">
    <header class="mui-bar mui-bar-nav" id="header">
        <a class="btn btn1 slide-menu" href="{:U('/index')}">
            <
        </a>
        <div class="top-sch-box flex-col">
            <form name="s-form" action="{:U('search')}">
                <div class="centerflex">
                    <i class="fdj iconfont icon-sousuo"></i>
                    <input type="text" name="keyword" id="keyword" value="{$Think.request.keyword}" class="sch-txt"
                           placeholder="输入您要搜索的活动"/>
                </div>
            </form>
        </div>
    </header>
</block>
<block name="content">
    <div class="warp warpthree clearfloat">
        <div class="sjfenlei clearfloat">

            <div class="bottom clearfloat">
                <div class="content clearfloat box-s">
                    <notempty name="result">
                        <volist name="result" id="item">
                            <div class="list clearfloat fl">
                                <a href="{:U('detail', ['id'=>$item['id']])}">
                                    <div class="tu clearfloat fl ra5">
                                        <span></span>
                                        <img src="{$item.thumb}"/>
                                    </div>
                                    <div class="nr clearfloat fr">
                                        <p class="bt over">{$item.activity_name}</p>
                                        <p class="fu-tit">{$item.activity_summary|stripslashes|msubstr=20,'...'}</p>
                                    </div>
                                </a>
                            </div>
                        </volist>
                    <else/>
                        <div class="list clearfloat fl">
                            <p>没有符合条件的活动</p>
                            </div>
                    </notempty>
                </div>
            </div>
            <div class="show-page">
                {$page}
            </div>
        </div>
    </div>
</block>